Automattic\WooCommerce\Blocks\Utils\StyleAttributesUtils A

Total Complexity 54
Dependencies 0
Dependents 6
Total lines 459
Lines of code 261
Logical lines of code 115
Comment lines 125
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
get_align_class_and_style()
A
48 8 37
get_classes_and_styles_by_attributes()
S
46 4 42
get_text_color_class_and_style()
S
54 5 21
get_background_color_class_and_style()
S
54 5 21
get_font_size_class_and_style()
S
56 5 19
get_border_color_class_and_style()
S
56 5 19
get_link_color_class_and_style()
S
54 3 21
get_margin_class_and_style()
S
63 3 10
get_padding_class_and_style()
S
63 3 10
get_border_radius_class_and_style()
S
63 2 10
get_border_width_class_and_style()
S
63 2 10
get_font_weight_class_and_style()
S
63 2 10
get_line_height_class_and_style()
S
63 2 10
get_font_family_class_and_style()
S
64 2 10
get_classes_by_attributes()
S
74 1 4
get_styles_by_attributes()
S
74 1 4
get_preset_value()
S
80 1 3